<?php
/**
 * eBay Label Printing Program Normal Sign Up Form Class 
 * This is a Form Class , it provide the normal sign up Form 
 * @package  eBayLabelPrinter
 * @category Forms
 * @author   Norman Dong <norman.dong@hotmail.com>
 * @version  Initial
 * @copyright LeadCasket.com
 * @link     www.leadcasket.com
 * @license  Commercial
 * @todo   At the moment , this is NO validuator at all , I assue all input is correct
 */
class Form_Normalsignup extends Zend_Form

{	
	/**
	 * Form construct function 
	 * Form have The following Elements 
	 * userEbayID,user Email, user Formal address, short form address on the label   
	 * @param int $idLabelProfile  The Label Profile ID
	 * @return array The Label Profile Array
	 */
	
    public function __construct($options = null)

    {

        parent::__construct($options);

        $this->setName('normalksignup');
		
		//user name, email , password , password hint , birthday,
		//Address es ,  billing addresses, contact Name , compnay Name
		//

        $userNameSeller = new Zend_Form_Element_Text('username_seller');

        $userNameSeller->setLabel('Your eBay User Name');

        $userEmailSeller = new Zend_Form_Element_Text('user_email_seller');

        $userEmailSeller->setLabel('Your Contact Email');
		
        $addrLine1 = new Zend_Form_Element_Text('line1_seller_addr');

        $addrLine1->setLabel('Address Line1');
		
		$addrLine2 = new Zend_Form_Element_Text('line2_seller_addr');

        $addrLine2->setLabel('Address Line2');
		
        $addrCity = new Zend_Form_Element_Text('city_seller_addr');

        $addrCity->setLabel('City');

        $addrState = new Zend_Form_Element_Text('state_seller_addr');

        $addrState->setLabel('State / Porvence');
		
        $addrPostCode = new Zend_Form_Element_Text('postcode_seller_addr');

        $addrPostCode->setLabel('Post Code');

        $addrCountry = new Zend_Form_Element_Text('country_seller_addr');

        $addrCountry->setLabel('Country');
		
        $addrShortLine1 = new Zend_Form_Element_Text('shortform_line1_addr');

        $addrShortLine1->setLabel('One Label Flat Address Line 1: Address,City');
		
        $addrShortLine2 = new Zend_Form_Element_Text('shortform_line2_addr');

        $addrShortLine2->setLabel('One Label Flat Address Line 2:State and PostCode');										
				
        $submit = new Zend_Form_Element_Submit('submit');

        $submit->setAttrib('id', 'submitbutton');

        $this->addElements(array($userNameSeller,$userEmailSeller,$addrLine1,$addrLine2,$addrCity,$addrState,$addrPostCode,$addrCountry,$addrShortLine1,$addrShortLine2,$submit));

    }

}